#ifndef DS_BASE_H_
#define DS_BASE_H_

#ifdef __cplusplus
extern "C" {
#endif

typedef int Status;

#define OK					0
#define ERROR				1
#define MEMERROR			2
#define PARAMERROR			3

typedef int BOOL;

#define TRUE				1
#define FALSE				0

#define NULL				0

#define ARRAYSIZE(v) (sizeof(v))/(sizeof(v[0]))

typedef int ElemType;

#ifdef __cplusplus
}
#endif

#endif